package com.example.skillcinema.db.localdb.tables

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "films")
data class FilmEntity(
    @PrimaryKey
    @ColumnInfo(name = "film_id")
    val filmId: Int,
    @ColumnInfo(name = "poster_url")
    val posterUrl: String,
    @ColumnInfo(name = "film_name")
    val filmName: String,
    val rate: Float,
    val genre: String,
    @ColumnInfo(name = "is_series")
    val isSeries: Boolean = false
)